<?php
/**
 * Created by PhpStorm.
 * User: hehecat
 * Date: 2018/10/9
 * Time: 10:53
 */

namespace app\api\controller;


use think\Controller;
use app\api\model\SearchModel;

class Search extends Controller {

    public function getActivityBySearch() {

    }
    public function club() {
        $search = input("search");
        $model = new SearchModel();
        $res = $model->getClubBySearch($search);
        return json($res);

    }

}